import 'package:hive/hive.dart';
part 'WebBookmarkModel.g.dart';

@HiveType(typeId: 2)
class WebBookmarkModel {
  @HiveField(0, defaultValue: '')
  String id;
  @HiveField(1, defaultValue: '')
  String url;
  @HiveField(2, defaultValue: '')
  String name;
  @HiveField(3, defaultValue: null)
  DateTime? time;

  WebBookmarkModel(this.id, this.url, this.name, {this.time});
}